package com.lecture.java8.excel.template;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@EqualsAndHashCode
public class FillData {

    @ExcelProperty(value = " 字符串标题",index = 0)
    private String name;

    @ExcelProperty(value = " number",index = 1)
    private double number;

    @ExcelProperty(value = " date",index = 2)
    private Date date;

    @ExcelProperty(value = " name2",index = 3)
    private String name2;
}
